.main {
	width: 1000px;
	margin: 20px auto;
	background: #fff;
	padding: 20px;

}

.cart_top {
	padding: 15px 0;

	font-size: 16px;
	text-align: center;
}

.cart_top a {
	color: #666;
	text-decoration: none;
	padding: 0 10px;

}

.cart_top a:hover {
	color: #6393B4;
}

.cart_list {
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.cart_list ul {
	display: flex;
	list-style: none;
	font-size: 14px;
}

.cart_list ul li {
	flex: 1;
	text-align: center;
}

.cart_list ul li:first-child {
	flex: 0.5;
	text-align: left;
	padding-left: 20px;
}

.cart_list ul li:nth-child(2) {
	flex: 2;
	text-align: left;
}


.cart_item {
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px dashed #eee;
}

.cart_item_check {
	flex: 0.5;
	text-align: center;
}

.cart_item_info {
	flex: 2;
	display: flex;
	align-items: center;
}

.cart_item_img {
	width: 80px;
	height: 80px;
	margin-right: 15px;
	border: 1px solid #eee;
}

.cart_item_name {
	font-size: 14px;
	color: #333;
}

.cart_item_quantity,
.cart_item_price,
.cart_item_subtotal,
.cart_item_action {
	flex: 1;
	text-align: center;
}

.quantity_btn {
	display: inline-flex;
	align-items: center;
}

.quantity_btn button {
	width: 25px;
	height: 25px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	cursor: pointer;
}

.quantity_btn input {
	width: 40px;
	height: 25px;
	text-align: center;
	border: 1px solid #ddd;
	margin: 0 5px;
}

.cart_item_price,
.cart_item_subtotal {
	color: gray;
	font-weight: bold;
}

.cart_item_action a {
	color: #666;
	text-decoration: none;
}

.cart_item_action a:hover {
	color: #e4393c;
}

.cart_img {
	text-align: center;
	padding: 50px 0;
	display: none;
}

.cart_img p {
	margin-top: 20px;
	color: #999;
}


.cart_text {
	width: 1000px;
	padding: 20px 0;
	margin-top: 20px;
	text-align: center;
}

.cart_text p {
	margin-left: 30px;
}

.cart_text a {
	color: #7FA6C5;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}

.cart_btn {
	background: #7FA6C5;
	color: #fff;
	border: none;
	padding: 10px 25px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 2px;
}



.text_cart {
	color: #005aa0;
	cursor: pointer;
}

.text_cart:hover {
	text-decoration: underline;
}
/* 购物车项目样式 */
.cart_item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart_item_check, 
.cart_item_info, 
.cart_item_quantity, 
.cart_item_price, 
.cart_item_subtotal, 
.cart_item_action {
    padding: 0 10px;
}

.cart_item_check {
    width: 5%;
    text-align: center;
}

.cart_item_info {
    width: 40%;
    display: flex;
    align-items: center;
}

.cart_item_img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.cart_item_name {
    flex: 1;
}

.cart_item_quantity {
    width: 15%;
}

.quantity_btn {
    display: flex;
    align-items: center;
}

.quantity_btn button {
    width: 25px;
    height: 25px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
}

.quantity_btn input {
    width: 40px;
    height: 25px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
}

.cart_item_price, 
.cart_item_subtotal {
    width: 10%;
    text-align: center;
}

.cart_item_action {
    width: 10%;
    text-align: center;
}

.cart_item_action a {
    color: #999;
    text-decoration: none;
}

.cart_item_action a:hover {
    color: #f40;
}

/* 空购物车提示 */
.cart_img {
    display: none;
    text-align: center;
    padding: 50px 0;
}

.cart_img p {
    margin-top: 20px;
    color: #999;
}

/* 添加以下样式 */
.cart_items_container {
    width: 100%;
}

.cart_item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart_item > div {
    flex: 1;
    text-align: center;
}

.cart_item_img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.quantity_btn input {
    width: 40px;
    text-align: center;
}

.remove {
    color: #ff4444;
    cursor: pointer;
}

.remove:hover {
    text-decoration: underline;
}


